package com.flida.echart.basic.system.service.impl;

import com.flida.echart.basic.api.system.entity.NodeBodyNode;
import com.flida.echart.basic.system.dao.NodeBodyNodeDao;
import com.flida.echart.basic.system.service.INodeBodyNodeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("nodeBodyNodeService")
public class NodeBodyNodeServiceImpl implements INodeBodyNodeService {
    @Autowired
    private NodeBodyNodeDao nodeBodyNodeDao;


    public int deleteByPrimaryKey(String nodeBodyId, String nodesId) {

        return nodeBodyNodeDao.deleteByPrimaryKey(nodeBodyId, nodesId);
    }


    public int insert(NodeBodyNode record) {

        return nodeBodyNodeDao.insert(record);
    }


    public int insertSelective(NodeBodyNode record) {

        return nodeBodyNodeDao.insertSelective(record);
    }

}
